<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        function count() {
            var sum = 0, sum1 = 0, sum0 = 0, sum2 = 1, sum3 = 1;
            for (var i = 0; i < arguments.length; i++) {
                var num = arguments[i]
                sum += num;
                sum0 -= num;
                sum1 = sum0 + 2 * arguments[0]
                sum2 *= num;
                sum3 /= num

            }
            console.log(sum, sum1, sum2, sum3)
        }
        count(3, 4, 5, 6)

    </script>
</body>

</html>